import Mock from 'mockjs'
import mock_data from '@/api/mock/mock_data'
import log from '@/util/logger'

Mock.mock(process.env.VUE_APP_API_BASE_URL + 'user/get_identities', 'post', (request) => {

    log.mock(request.url, JSON.parse(request.body))
    // 返回用户信息
    return {
        status: {
            code: 0,
            message: "职称信息获取成功",
        },
        data: [
            { identityId: 100, identityName: "学生" },
            { identityId: 200, identityName: "教授" }

        ]

    }
}
)